[arch-commits] Commit in c2hs/repos (2 files)

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:49:51
  Author: felixonmars
Revision: 796927

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 796926, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 796926, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:49:51 UTC (rev 796927)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=13
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 11:03:38
  Author: felixonmars
Revision: 794669

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 794668, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 794668, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 11:03:38 UTC (rev 794669)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=12
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-26 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 21:14:05
  Author: felixonmars
Revision: 793050

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 793049, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 793049, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 21:14:05 UTC (rev 793050)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=11
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 03:20:08
  Author: felixonmars
Revision: 791750

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 791749, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 791749, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 03:20:08 UTC (rev 791750)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=10
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 10:43:43
  Author: felixonmars
Revision: 790050

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 790049, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 790049, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 10:43:43 UTC (rev 790050)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=9
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 09:58:34
  Author: felixonmars
Revision: 786963

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 786962, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 786962, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 09:58:34 UTC (rev 786963)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=8
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 11:03:45
  Author: felixonmars
Revision: 784102

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 784101, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 784101, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 11:03:45 UTC (rev 784102)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=7
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 08:26:30
  Author: felixonmars
Revision: 780846

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 780845, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 780845, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 08:26:30 UTC (rev 780846)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=6
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 00:08:48
  Author: felixonmars
Revision: 778296

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 778295, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 778295, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 00:08:48 UTC (rev 778296)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=4
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 22:07:56
  Author: felixonmars
Revision: 774576

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 774575, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 774575, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 22:07:56 UTC (rev 774576)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.7
+pkgrel=2
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c3df67abf5c1fd62d6'
+
'2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+# Missing test files
+cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 
c2hs-$pkgver/tests/bugs/
+cp -r 
c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible 
c2hs-$pkgver/tests/system/
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 21:10:39
  Author: felixonmars
Revision: 764712

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 764710, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 764710, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 21:10:39 UTC (rev 764712)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=136
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
+
'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+
+prepare() {
+patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 22:59:22
  Author: felixonmars
Revision: 759675

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 759674, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 759674, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 22:59:22 UTC (rev 759675)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=135
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
+
'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+
+prepare() {
+patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-11-15 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 04:01:38
  Author: felixonmars
Revision: 755137

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 755136, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 755136, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 04:01:38 UTC (rev 755137)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=133
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
+
'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+
+prepare() {
+patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 15:47:15
  Author: felixonmars
Revision: 744383

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 744382, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 744382, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 15:47:15 UTC (rev 744383)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=131
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
+
'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+
+prepare() {
+patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 18:46:16
  Author: felixonmars
Revision: 740058

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 740057, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 740057, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 18:46:16 UTC (rev 740058)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=129
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
+
'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+
+prepare() {
+patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 23:23:15
  Author: felixonmars
Revision: 737373

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 737372, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 737372, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 23:23:15 UTC (rev 737373)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=127
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
+
'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+
+prepare() {
+patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 23:18:04
  Author: felixonmars
Revision: 736428

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 736427, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 736427, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 23:18:04 UTC (rev 736428)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=126
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
+
'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+
+prepare() {
+patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 23:30:42
  Author: felixonmars
Revision: 735196

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 735195, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 735195, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 23:30:42 UTC (rev 735196)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=124
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 21:22:22
  Author: felixonmars
Revision: 733010

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 733009, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 733009, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 21:22:22 UTC (rev 733010)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=123
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 728998, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 728998, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 10:58:57 UTC (rev 728999)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=122
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-17 Thread Felix Yan via arch-commits
Date: Saturday, October 17, 2020 @ 22:52:12
  Author: felixonmars
Revision: 725705

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 725704, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 725704, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-17 22:52:12 UTC (rev 725705)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=121
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 14:01:27
  Author: felixonmars
Revision: 720607

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 720606, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 720606, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 14:01:27 UTC (rev 720607)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=120
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 10:53:33
  Author: felixonmars
Revision: 717583

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 717582, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 717582, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 10:53:33 UTC (rev 717583)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=119
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 11:54:12
  Author: felixonmars
Revision: 715364

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 715363, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 715363, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 11:54:12 UTC (rev 715364)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=118
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-09-17 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 04:30:24
  Author: felixonmars
Revision: 709731

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 709730, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 709730, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 04:30:24 UTC (rev 709731)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=117
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-09-15 Thread Felix Yan via arch-commits
Date: Tuesday, September 15, 2020 @ 07:42:34
  Author: felixonmars
Revision: 707011

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 707010, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 707010, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-15 07:42:34 UTC (rev 707011)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=116
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 20:45:28
  Author: felixonmars
Revision: 704823

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 704822, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 704822, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 20:45:28 UTC (rev 704823)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=115
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-09-11 Thread Felix Yan via arch-commits
Date: Friday, September 11, 2020 @ 11:13:22
  Author: felixonmars
Revision: 702702

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 702701, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 702701, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-11 11:13:22 UTC (rev 702702)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=114
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 20:12:56
  Author: felixonmars
Revision: 700291

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 700290, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 700290, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 20:12:56 UTC (rev 700291)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=113
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-09-04 Thread Felix Yan via arch-commits
Date: Friday, September 4, 2020 @ 20:40:09
  Author: felixonmars
Revision: 698617

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 698616, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 698616, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-04 20:40:09 UTC (rev 698617)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=112
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 14:22:55
  Author: felixonmars
Revision: 697433

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 697432, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 697432, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 14:22:55 UTC (rev 697433)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=111
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 09:54:00
  Author: felixonmars
Revision: 694040

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 694039, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 694039, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 09:54:00 UTC (rev 694040)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=110
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 19:44:56
  Author: felixonmars
Revision: 691219

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 691218, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 691218, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 19:44:56 UTC (rev 691219)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=109
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 22:17:18
  Author: felixonmars
Revision: 688824

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 688823, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 688823, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 22:17:18 UTC (rev 688824)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=108
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-20 Thread Felix Yan via arch-commits
Date: Thursday, August 20, 2020 @ 17:28:39
  Author: felixonmars
Revision: 685619

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 685618, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 685618, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-20 17:28:39 UTC (rev 685619)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=107
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-19 Thread Felix Yan via arch-commits
Date: Wednesday, August 19, 2020 @ 17:48:34
  Author: felixonmars
Revision: 685055

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 685054, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 685054, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-19 17:48:34 UTC (rev 685055)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=106
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 20:56:22
  Author: felixonmars
Revision: 683270

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 683269, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 683269, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 20:56:22 UTC (rev 683270)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=105
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-16 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 16:15:36
  Author: felixonmars
Revision: 681613

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 681612, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 681612, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 16:15:36 UTC (rev 681613)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=103
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-15 Thread Felix Yan via arch-commits
Date: Saturday, August 15, 2020 @ 23:08:54
  Author: felixonmars
Revision: 680275

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 680274, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 680274, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-15 23:08:54 UTC (rev 680275)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=102
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 17:51:58
  Author: felixonmars
Revision: 677803

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 677802, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 677802, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 17:51:58 UTC (rev 677803)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=101
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-11 Thread Felix Yan via arch-commits
Date: Tuesday, August 11, 2020 @ 22:37:06
  Author: felixonmars
Revision: 675084

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 675083, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 675083, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-11 22:37:06 UTC (rev 675084)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=100
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-08-07 Thread Felix Yan via arch-commits
Date: Saturday, August 8, 2020 @ 05:19:08
  Author: felixonmars
Revision: 671845

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 671844, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 671844, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-08 05:19:08 UTC (rev 671845)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=99
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 00:17:34
  Author: felixonmars
Revision: 666839

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 666838, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 666838, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 00:17:34 UTC (rev 666839)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=98
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-28 Thread Felix Yan via arch-commits
Date: Sunday, June 28, 2020 @ 23:44:40
  Author: felixonmars
Revision: 655694

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 655693, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 655693, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-28 23:44:40 UTC (rev 655694)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=97
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-23 Thread Felix Yan via arch-commits
Date: Tuesday, June 23, 2020 @ 23:21:26
  Author: felixonmars
Revision: 651888

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 651887, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 651887, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-23 23:21:26 UTC (rev 651888)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=96
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-22 Thread Felix Yan via arch-commits
Date: Monday, June 22, 2020 @ 12:10:53
  Author: felixonmars
Revision: 650425

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 650424, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 650424, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-22 12:10:53 UTC (rev 650425)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=95
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-15 Thread Felix Yan via arch-commits
Date: Monday, June 15, 2020 @ 17:19:45
  Author: felixonmars
Revision: 645368

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 645367, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 645367, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-15 17:19:45 UTC (rev 645368)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=94
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-13 Thread Felix Yan via arch-commits
Date: Saturday, June 13, 2020 @ 23:54:25
  Author: felixonmars
Revision: 643479

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 643478, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 643478, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-13 23:54:25 UTC (rev 643479)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=93
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-12 Thread Felix Yan via arch-commits
Date: Friday, June 12, 2020 @ 17:35:33
  Author: felixonmars
Revision: 642451

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 642450, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 642450, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-12 17:35:33 UTC (rev 642451)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=92
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-06 Thread Felix Yan via arch-commits
Date: Saturday, June 6, 2020 @ 10:50:07
  Author: felixonmars
Revision: 639422

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 639421, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 639421, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-06 10:50:07 UTC (rev 639422)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=91
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-06-03 Thread Felix Yan via arch-commits
Date: Wednesday, June 3, 2020 @ 18:08:57
  Author: felixonmars
Revision: 638428

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 638427, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 638427, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-03 18:08:57 UTC (rev 638428)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=90
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 17:12:00
  Author: felixonmars
Revision: 632273

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 632272, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 632272, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 17:12:00 UTC (rev 632273)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=89
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-05-19 Thread Felix Yan via arch-commits
Date: Tuesday, May 19, 2020 @ 19:04:45
  Author: felixonmars
Revision: 630070

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 630069, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 630069, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-19 19:04:45 UTC (rev 630070)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=88
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-05-12 Thread Felix Yan via arch-commits
Date: Tuesday, May 12, 2020 @ 14:37:30
  Author: felixonmars
Revision: 626931

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 626930, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 626930, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-12 14:37:30 UTC (rev 626931)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=87
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-04-30 Thread Felix Yan via arch-commits
Date: Thursday, April 30, 2020 @ 20:58:23
  Author: felixonmars
Revision: 623452

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 623451, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 623451, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-30 20:58:23 UTC (rev 623452)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=86
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-04-24 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 07:02:40
  Author: felixonmars
Revision: 618929

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 618928, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 618928, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 07:02:40 UTC (rev 618929)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=85
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-04-14 Thread Felix Yan via arch-commits
Date: Tuesday, April 14, 2020 @ 22:51:03
  Author: felixonmars
Revision: 614378

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 614377, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 614377, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-14 22:51:03 UTC (rev 614378)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=84
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-04-08 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 8, 2020 @ 23:08:49
  Author: foutrelis
Revision: 612829

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 612828, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 612828, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-08 23:08:49 UTC (rev 612829)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=83
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-04-02 Thread Felix Yan via arch-commits
Date: Friday, April 3, 2020 @ 01:17:37
  Author: felixonmars
Revision: 610583

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 610582, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 610582, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-03 01:17:37 UTC (rev 610583)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=82
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-04-02 Thread Felix Yan via arch-commits
Date: Thursday, April 2, 2020 @ 20:11:06
  Author: felixonmars
Revision: 610229

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 610228, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 610228, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-02 20:11:06 UTC (rev 610229)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=81
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 11:52:47
  Author: felixonmars
Revision: 608809

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 608808, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 608808, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 11:52:47 UTC (rev 608809)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=80
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-03-21 Thread Felix Yan via arch-commits
Date: Saturday, March 21, 2020 @ 06:52:00
  Author: felixonmars
Revision: 602310

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 602309, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 602309, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-21 06:52:00 UTC (rev 602310)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=79
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 16:09:50
  Author: felixonmars
Revision: 598326

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 598325, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 598325, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 16:09:50 UTC (rev 598326)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=78
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-03-13 Thread Felix Yan via arch-commits
Date: Friday, March 13, 2020 @ 14:02:10
  Author: felixonmars
Revision: 595975

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 595974, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 595974, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-13 14:02:10 UTC (rev 595975)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=77
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-03-13 Thread Felix Yan via arch-commits
Date: Friday, March 13, 2020 @ 10:59:07
  Author: felixonmars
Revision: 595805

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 595804, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 595804, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-13 10:59:07 UTC (rev 595805)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=76
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 19:36:23
  Author: felixonmars
Revision: 588050

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 588049, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 588049, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 19:36:23 UTC (rev 588050)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=75
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-29 Thread Felix Yan via arch-commits
Date: Saturday, February 29, 2020 @ 17:24:41
  Author: felixonmars
Revision: 586970

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 586969, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 586969, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-29 17:24:41 UTC (rev 586970)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=74
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 16:11:10
  Author: felixonmars
Revision: 584349

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 584348, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 584348, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 16:11:10 UTC (rev 584349)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=73
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 17:55:59
  Author: felixonmars
Revision: 581718

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 581717, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 581717, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 17:55:59 UTC (rev 581718)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=72
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-24 Thread Felix Yan via arch-commits
Date: Monday, February 24, 2020 @ 19:18:58
  Author: felixonmars
Revision: 580735

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 580734, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 580734, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-24 19:18:58 UTC (rev 580735)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=71
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-22 Thread Felix Yan via arch-commits
Date: Sunday, February 23, 2020 @ 05:51:32
  Author: felixonmars
Revision: 579311

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 579310, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 579310, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-23 05:51:32 UTC (rev 579311)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=70
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-22 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 15:09:01
  Author: felixonmars
Revision: 578723

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 578722, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 578722, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 15:09:01 UTC (rev 578723)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=69
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-22 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 10:09:35
  Author: felixonmars
Revision: 578276

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 578275, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 578275, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 10:09:35 UTC (rev 578276)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=68
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-21 Thread Felix Yan via arch-commits
Date: Friday, February 21, 2020 @ 16:07:20
  Author: felixonmars
Revision: 577700

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 577699, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 577699, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-21 16:07:20 UTC (rev 577700)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=67
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-19 Thread Felix Yan via arch-commits
Date: Wednesday, February 19, 2020 @ 20:37:39
  Author: felixonmars
Revision: 576831

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 576830, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 576830, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-19 20:37:39 UTC (rev 576831)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=66
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-17 Thread Felix Yan via arch-commits
Date: Monday, February 17, 2020 @ 16:49:33
  Author: felixonmars
Revision: 574393

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 574392, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 574392, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-17 16:49:33 UTC (rev 574393)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=65
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 09:35:41
  Author: felixonmars
Revision: 572158

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 572157, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 572157, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 09:35:41 UTC (rev 572158)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=64
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 567983, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 567983, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 19:47:04 UTC (rev 567984)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=63
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-10 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 00:33:09
  Author: felixonmars
Revision: 566545

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 566544, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 566544, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 00:33:09 UTC (rev 566545)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=62
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 4, 2020 @ 20:16:00
  Author: felixonmars
Revision: 562471

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 562470, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 562470, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-04 20:16:00 UTC (rev 562471)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=60
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 12:09:25
  Author: felixonmars
Revision: 558730

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 558729, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 558729, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 12:09:25 UTC (rev 558730)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=59
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 01:14:28
  Author: felixonmars
Revision: 556876

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 556875, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 556875, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 01:14:28 UTC (rev 556876)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=58
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-01-09 Thread Felix Yan via arch-commits
Date: Thursday, January 9, 2020 @ 17:45:44
  Author: felixonmars
Revision: 551362

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 551361, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 551361, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-09 17:45:44 UTC (rev 551362)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=57
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-01-04 Thread Felix Yan via arch-commits
Date: Saturday, January 4, 2020 @ 18:12:05
  Author: felixonmars
Revision: 548194

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 548193, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 548193, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-04 18:12:05 UTC (rev 548194)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=56
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2020-01-02 Thread Felix Yan via arch-commits
Date: Thursday, January 2, 2020 @ 16:24:50
  Author: felixonmars
Revision: 546335

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 546334, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 546334, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-02 16:24:50 UTC (rev 546335)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=55
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 544352, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 544352, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 10:30:30 UTC (rev 544353)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=54
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-12-27 Thread Felix Yan via arch-commits
Date: Friday, December 27, 2019 @ 14:37:06
  Author: felixonmars
Revision: 543015

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 543014, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 543014, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-27 14:37:06 UTC (rev 543015)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=53
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 540850, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 540850, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-25 11:45:19 UTC (rev 540851)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=52
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-12-23 Thread Felix Yan via arch-commits
Date: Monday, December 23, 2019 @ 15:16:20
  Author: felixonmars
Revision: 539288

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 539287, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 539287, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-23 15:16:20 UTC (rev 539288)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=51
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-12-10 Thread Felix Yan via arch-commits
Date: Wednesday, December 11, 2019 @ 07:37:26
  Author: felixonmars
Revision: 536632

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 536631, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 536631, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-11 07:37:26 UTC (rev 536632)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=50
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3 --ghc-option='-pie'
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-10-08 Thread Felix Yan via arch-commits
Date: Tuesday, October 8, 2019 @ 21:56:38
  Author: felixonmars
Revision: 514290

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 514289, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 514289, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-08 21:56:38 UTC (rev 514290)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=49
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-10-07 Thread Felix Yan via arch-commits
Date: Monday, October 7, 2019 @ 15:30:53
  Author: felixonmars
Revision: 513808

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 513807, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 513807, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-07 15:30:53 UTC (rev 513808)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=48
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-10-06 Thread Felix Yan via arch-commits
Date: Sunday, October 6, 2019 @ 12:07:01
  Author: felixonmars
Revision: 513259

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 513258, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 513258, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-06 12:07:01 UTC (rev 513259)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=47
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-09-02 Thread Felix Yan via arch-commits
Date: Monday, September 2, 2019 @ 07:04:03
  Author: felixonmars
Revision: 506694

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 506693, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 506693, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 07:04:03 UTC (rev 506694)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=46
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-08-26 Thread Felix Yan via arch-commits
Date: Monday, August 26, 2019 @ 19:23:15
  Author: felixonmars
Revision: 502171

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 502170, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 502170, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-26 19:23:15 UTC (rev 502171)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=45
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-08-10 Thread Felix Yan via arch-commits
Date: Saturday, August 10, 2019 @ 21:40:28
  Author: felixonmars
Revision: 498738

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 498737, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 498737, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-10 21:40:28 UTC (rev 498738)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=44
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-08-06 Thread Felix Yan via arch-commits
Date: Tuesday, August 6, 2019 @ 09:58:37
  Author: felixonmars
Revision: 497627

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 497626, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 497626, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-06 09:58:37 UTC (rev 497627)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=43
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-07-31 Thread Felix Yan via arch-commits
Date: Wednesday, July 31, 2019 @ 18:43:10
  Author: felixonmars
Revision: 495844

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 495843, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 495843, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-31 18:43:10 UTC (rev 495844)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=42
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-07-27 Thread Felix Yan via arch-commits
Date: Saturday, July 27, 2019 @ 12:36:58
  Author: felixonmars
Revision: 493278

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 493277, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 493277, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-27 12:36:58 UTC (rev 493278)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=41
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in c2hs/repos (2 files)

2019-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 17, 2019 @ 17:51:04
  Author: felixonmars
Revision: 490422

archrelease: copy trunk to community-staging-x86_64

Added:
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
(from rev 490421, c2hs/trunk/PKGBUILD)

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

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 490421, 
c2hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-17 17:51:04 UTC (rev 490422)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=c2hs
+pkgver=0.28.6
+pkgrel=40
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-dlist" "haskell-language-c")
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-hunit'
+ 'haskell-shelly')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9')
+
+prepare() {
+sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
+sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
+sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" 
--enable-tests \
+-f-regression -fbase3
+runhaskell Setup build
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


  1   2   >